package com.gqj.elec.service;

import java.util.List;
import com.gqj.elec.domain.ElecWarningDetail;

/**
 * 物资报警详情Service接口
 * 
 * @author lxq
 * @date 2023-09-02
 */
public interface IElecWarningDetailService 
{
    /**
     * 查询物资报警详情
     * 
     * @param warningDetailId 物资报警详情主键
     * @return 物资报警详情
     */
    public ElecWarningDetail selectElecWarningDetailByWarningDetailId(Long warningDetailId);

    /**
     * 查询物资报警详情列表
     * 
     * @param elecWarningDetail 物资报警详情
     * @return 物资报警详情集合
     */
    public List<ElecWarningDetail> selectElecWarningDetailList(ElecWarningDetail elecWarningDetail);

    /**
     * 新增物资报警详情
     * 
     * @param elecWarningDetail 物资报警详情
     * @return 结果
     */
    public int insertElecWarningDetail(ElecWarningDetail elecWarningDetail);

    /**
     * 修改物资报警详情
     * 
     * @param elecWarningDetail 物资报警详情
     * @return 结果
     */
    public int updateElecWarningDetail(ElecWarningDetail elecWarningDetail);

    /**
     * 批量删除物资报警详情
     * 
     * @param warningDetailIds 需要删除的物资报警详情主键集合
     * @return 结果
     */
    public int deleteElecWarningDetailByWarningDetailIds(Long[] warningDetailIds);

    /**
     * 删除物资报警详情信息
     * 
     * @param warningDetailId 物资报警详情主键
     * @return 结果
     */
    public int deleteElecWarningDetailByWarningDetailId(Long warningDetailId);
}
